Use ControlMaster where applicable. (Bug#13677)
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 13 Feb 2013 16:23:15 +0000 (17:23 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 13 Feb 2013 16:23:15 +0000 (17:23 +0100)
commit7116fa28924484c0a5e1f175ba1512687a5c0fc2
treead69eaca002ce5d8696f6bd969cc12a25b9ca084
parent5a9d801ee98cad043fc6fd12e2da3bddadd9aa9b
Use ControlMaster where applicable.  (Bug#13677)

* net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
replacing `tramp-detect-ssh-controlmaster'.
(tramp-default-method): Use it.

* net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
[rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
arguments.
[scpc, rsyncc]: Remove methods.
(top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
and "ssh2_old".
(tramp-do-copy-or-rename-file-out-of-band):  Change trace level.
(tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
lisp/ChangeLog
lisp/net/tramp-sh.el
lisp/net/tramp.el